getString

fun getString(key: String, defaultVal: String?): String?

Get the string value associated with the given key. If there is no value associated with the key, return the defaultVal.